package com.fenghongzhang.login.mvp.contract;

import com.fenghongzhang.lib.mvp.model.IModel;
import com.fenghongzhang.lib.mvp.view.IView;
import com.fenghongzhang.login.entity.LoginInfo;

import io.reactivex.Observable;
import io.reactivex.Observer;


public interface LoginContract {

    interface ILoginModel extends IModel{
        void login(String name, String password,Observer<LoginInfo> observer);
    }
    interface ILoginView extends IView {

        String getName();
        String getPwd();
        void isLoginOk(LoginInfo info);

    }
}
